package com.ossjk.qlh.specializedSubject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Copyright  2023-03-07 QLH. Tech Ltd. All rights reserved.
 * 
 * @Package: com.ossjk.qlh.specializedSubject.entity
 * @ClassName: Coursetypes
 * @Description: 课程类别-实体类
 * @author: Levi
 * @date:  2023-03-07 10:19:53 
 */
@ApiModel(value = "课程类别")
@Data
public class Coursetypes extends BaseEntity<Coursetypes> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键", required = true)
	@TableId("id")
	private String id;
	/**
	 * 分类代码
	 */
	@ApiModelProperty(value = "分类代码", required = true)
	@TableField("code")
	private Integer code;
	/**
	 * 分类名称
	 */
	@ApiModelProperty(value = "分类名称", required = true)
	@TableField("name")
	private String name;
	 
	 
	 
	@Override
	protected Serializable pkVal() {
				return id;
	}
 

	 
}
